Skip to content

Fix hang in toBuffer when spawned process writes a lot of data to stderr.#587

Open
davidmfoley wants to merge 1 commit intoaheckmann:masterfrom
davidmfoley:toBuffer-handle-stderr
Open

Fix hang in toBuffer when spawned process writes a lot of data to stderr.#587
davidmfoley wants to merge 1 commit intoaheckmann:masterfrom
davidmfoley:toBuffer-handle-stderr

Conversation

@davidmfoley
Copy link

In cases where stderr streams a lot of diagnostic, the process
would block waiting for stderr buffer flush,
consequently toBuffer would never call back.

We saw this occur with a PDF (ghostscript warnings sent to stderr).

In cases where stderr streams a lot of diagnostic, the process
would block waiting for stderr buffer flush.

We saw this occur with a PDF (ghostscript logging warnings).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant